/*
Copyright To change this template, choose Tools | Templates
Copyright and open the template in the editor.
 */
package com.click.app.dao;

import com.click.app.model.ModelSize;
import com.click.app.model.PantDesign;
import com.click.app.model.SeamStorage;
import com.click.app.model.TradeMark;
import java.util.List;
import java.util.Set;

/**
 * @author Joel Chuca Condo
 * @date 17/06/2009
 */
public interface SeamStorageDao extends GenericDao<SeamStorage, Long> {
    //public SeamStorage findByPantDesign(Long idPantDesign);

    public List<SeamStorage> findByPantDesignAndTradeMark(Long idPantDesign, Long idTrademark);

    public List<PantDesign> findByTradeMark(Long idTradeMark);

    public List<PantDesign> findByModelAndMaterial(Long idTradeMark);

    public List<SeamStorage> findByPantDesignAndTradeMarkAndSizes(PantDesign pantDesign, Long idTradeMark, Set<ModelSize> sizes);

    public List<PantDesign> findByTradeMarkWithoutModelSize(Long idTradeMark);

    public List<SeamStorage> findByPantDesignAndTradeMark(Long codeMaterial, Long codeModel, Long idTradeMark, Set<ModelSize> modelSizes);

    public List<TradeMark> findEnablesTradeMark();
    
}
